<?php


namespace app\common\model;


use think\Model;

class MediaFile extends Model {

    protected $table = 'media_file';

    public function getByName(string $name) {
        return $this->where('name', $name)->find();
    }

}
